<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 2012-1-2 16:25:01 by Hibernate Tools 3.4.0.CR1 -->
<hibernate-mapping>
    <class name="com.church.db.Catholics" table="catholics" catalog="church">
        <id name="id" type="int">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="sex" type="java.lang.Boolean">
            <column name="sex" />
        </property>
        <property name="birthday" type="timestamp">
            <column name="birthday" length="19" not-null="true" />
        </property>
        <property name="education" type="string">
            <column name="education" length="25" />
        </property>
        <property name="professional" type="string">
            <column name="professional" length="45" />
        </property>
        <property name="graduated" type="string">
            <column name="graduated" length="45" />
        </property>
        <property name="work" type="string">
            <column name="work" length="45" />
        </property>
        <property name="belongs" type="string">
            <column name="belongs" length="45" />
        </property>
        <property name="fellowship" type="string">
            <column name="fellowship" length="45" />
        </property>
        <property name="grade" type="string">
            <column name="grade" length="45" />
        </property>
        <property name="baptismdate" type="timestamp">
            <column name="baptismdate" length="19" not-null="true" />
        </property>
        <property name="lived" type="string">
            <column name="lived" length="45" />
        </property>
        <property name="baptismchurch" type="string">
            <column name="baptismchurch" length="45" />
        </property>
        <property name="mobile" type="string">
            <column name="mobile" length="15" />
        </property>
        <property name="telephone" type="string">
            <column name="telephone" length="25" />
        </property>
        <property name="marriage" type="string">
            <column name="marriage" length="45" />
        </property>
        <property name="photo" type="string">
            <column name="photo" length="45" not-null="true" />
        </property>
        <property name="name" type="string">
            <column name="name" length="45" not-null="true" />
        </property>
        <property name="state" type="string">
            <column name="state" length="5" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
